﻿
@model PessMvc.Models.ExpertJudgeModel

<fieldset class="fly-edit">
    <div class="editor-label">
        @*@Html.LabelFor(model => model.SerialNumber)*@登录用户名（评委编号）
    </div>
    <div class="editor-field">
        @if( Roles.IsUserInRole("ExpertJudge"))
        {
            @Html.DisplayFor(model => model.SerialNumber)
        }
        else { 
            @Html.EditorFor(model => model.SerialNumber)
            @Html.ValidationMessageFor(model => model.SerialNumber)
        }
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.RealName)*@真实姓名
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.RealName)
        @Html.ValidationMessageFor(model => model.RealName)
    </div>
    <div class="editor-label">
        @*@Html.LabelFor(model => model.RealName)*@身份证号：
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.SSID)
        @Html.ValidationMessageFor(model => model.SSID)
    </div>
    <div class="editor-label">
        @*@Html.LabelFor(model => model.Gender)*@性别
    </div>
    <div class="editor-field">
        @Html.DropDownList("Gender")
        @Html.ValidationMessageFor(model => model.Gender)
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.Birthdate)*@出生年月
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Birthdate) ()
        @Html.ValidationMessageFor(model => model.Birthdate)
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.Phone)*@电话号码
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Phone)
        @Html.ValidationMessageFor(model => model.Phone)
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.Email)*@电子邮件
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Email)
        @Html.ValidationMessageFor(model => model.Email)
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.ZipCode)*@邮政编码
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ZipCode)
        @Html.ValidationMessageFor(model => model.ZipCode)
    </div>

    <div class="editor-label">
        @*@Html.LabelFor(model => model.ContactAddress) *@家庭住址
    </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactAddress)
            @Html.ValidationMessageFor(model => model.ContactAddress)
        </div>

        <div class="editor-label">
        </div>
        <div class="editor-field">
            <input type="submit" value="保存" class="u-btn u-btn-save3" />
        </div>
    </fieldset>